package com.sevattal.service.leaves.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sevattal.service.leaves.entity.Authority;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
public interface AuthorityService extends IService<Authority> {

    boolean createAuth(Authority auth);

    boolean deleteAuth(String id);

    boolean updateAuth(Authority auth);

    Authority getByAuthId(String id);

    List<Authority> getAuthList();
}
